package com.zemo.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description: 评论类
 * @author: Zemo
 * @date: Mar 31, 2014 12:59:34 AM
 * @email:chenzeming@lanbaoo.com
 */
@Entity
@Table(name="comments")
public class Comment implements Serializable{

	private static final long serialVersionUID = 4884941528107137695L;
	
	private Integer id;
	private Integer productId;
	private Integer userId;
	private String content;
	
	
	public Comment() {
	}
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	

}
